home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Camelot
/
Camelot 098 (1990-12)(Swedish User Group of Amiga)(SE)(PD)[WB].zip
/
Camelot 098 (1990-12)(Swedish User Group of Amiga)(SE)(PD)[WB].adf
/
XLisp-Stat
/
Book
/
abrasionaxis.lsp
< prev
next >
Wrap
Text File
|
1990-10-11
|
727b
|
20 lines
; book p.321
(require "data/tutorial")
(require "functions/rotatecoordaxis")
(flet ((width (c) (first (send c :size))))
(let* ((w (spin-plot (list hardness tensile-strength abrasion-loss)))
(c0 (send spin-rotate-control-proto :new 0))
(c1 (send spin-rotate-control-proto :new 1))
(c2 (send spin-rotate-control-proto :new 2)))
(send w :add-overlay c0)
(send w :add-overlay c1)
(send w :add-overlay c2)
(let ((width (max (mapcar #'width (list c0 c1 c2))))
(height (second (send c0 :size)))
(margin (send w :margin)))
(send c1 :location (list 0 height))
(send c2 :location (list 0 (* 2 height)))
(send w :margin width 0 0 (fourth margin)))))